#ifndef INCLUDED_CONNECTION_H
#define INCLUDED_CONNECTION_H

#include <TcpSocket.h>
#include <SocketHandler.h>

#include "Session.h"

class Connection : public TcpSocket
{
    private :
        Session *session;

    public:
        Connection(ISocketHandler& );
        ~Connection();

        void OnAccept();
        void OnLine(const std::string& );
};

#endif // _CONNECTION_H
